package com.ruoyi.base.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 系统配置对象 base_limit
 *
 * @author zzp
 * @date 2022-09-28
 */
public class BaseLimit extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 限制层级
     */
    @Excel(name = "限制层级")
    private String limitLevel;

    /**
     * 限制分层
     */
    @Excel(name = "限制分层")
    private String limitMax;

    /**
     * 分层数量
     */
    @Excel(name = "分层数量")
    private String maxNum;

    /**
     * 限制天数
     */
    @Excel(name = "限制天数")
    private String limitDay;

    /**
     * 兑换比例
     */
    @Excel(name = "兑换比例")
    private String goldScale;

    /**
     * 是否跳过
     */
    @Excel(name = "是否跳过")
    private String jump;

    /**
     * 启用状态
     */
    @Excel(name = "启用状态")
    private String status;

    /**
     * 删除标志
     */
    private String delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLimitLevel(String limitLevel) {
        this.limitLevel = limitLevel;
    }

    public String getLimitLevel() {
        return limitLevel;
    }

    public String getLimitMax() {
        return limitMax;
    }

    public void setLimitMax(String limitMax) {
        this.limitMax = limitMax;
    }

    public String getMaxNum() {
        return maxNum;
    }

    public void setMaxNum(String maxNum) {
        this.maxNum = maxNum;
    }

    public void setLimitDay(String limitDay) {
        this.limitDay = limitDay;
    }

    public String getLimitDay() {
        return limitDay;
    }

    public void setGoldScale(String goldScale) {
        this.goldScale = goldScale;
    }

    public String getGoldScale() {
        return goldScale;
    }

    public void setJump(String jump) {
        this.jump = jump;
    }

    public String getJump() {
        return jump;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("limitLevel", getLimitLevel())
                .append("limitDay", getLimitDay())
                .append("goldScale", getGoldScale())
                .append("jump", getJump())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
